const nav = require('./config/nav.js');
const sidebar = require('./config/sidebar.js');
module.exports = {
    title: '小天师的小站',
    description: '本站是小天师源码学习记录网站，期待与您一起进步，一起成长！',
    head: [
        ['link', { rel: 'icon', href: '/favicon.ico' }]
    ],
    base: '/', // / => /vue-blog-server/
    markdown: {
        lineNumbers: true
    },
    themeConfig: {
        logo: '/logo.png',
        sidebarDepth: 1,
        lastUpdated: '上次更新',
        docsDir: "docs",
        search: true,
        searchMaxSuggestions: 10,
        sidebar,
        nav,
    },
    plugins: [
        ["@vuepress/back-to-top", true],
        [
            "vuepress-plugin-medium-zoom",
            {
                options: {
                    margin: 24,
                    background: "white",
                    scrollOffset: 0
                }
            }
        ]
    ]
};